<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 *
 * base_url/about-us
 *
 * @package    controllers
 * @author     Bertrand Kintanar <bertrand.kintanar@gmail.com>
 * @version    $Id: about_us.php 214 2011-12-08 21:01:26Z bertrand.kintanar@gmail.com $
 * @copyright  &copy; 2011 NaCl.org WebGroup
 *
 */
class About_us extends MY_Controller {

    
    public function __construct()
    {
        parent::__construct();
        parent::_get_script(__FILE__);
    }
    
    public function index()
    {
        $_navlink_obj = new \models\Navlink;
        $_about_us = $_navlink_obj->getNavlinkByName('About Us');
        $_about_childlinks = $_navlink_obj->getNavlinkChildLinks($_about_us->navlink_id);
        
        $this->smarty->assign('about_navlinks', $_about_childlinks);
        $this->smarty->view();
    }

}
